package ooday05.JavaCodeHomework.Q1;
/** 演示PointDemo05类 */
public class PointDemo05 {
    private int x5;
    private int y5;

    public int getX() {
        return x5;
    }
    public void setX(int x) {
        if(x5 >= 0) {
            this.x5 = x;
        }
    }

    public int getY() {
        return y5;
    }
    public void setY(int y) {
        this.y5 = y;
    }
}
